public class Token {

	private boolean[] tokens = {false, false, false, false, false, false, false, false};
	private String[] names = { "Boot", "Car", "Dog", "Hat", "Iron", "Ship", "Thimble", "Wheelbarrow" };
	private String[] tokenURL = { "images/Token/Mini/boot.png", "images/Token/Mini/car.png", "images/Token/Mini/dog.png",
								  "images/Token/Mini/hat.png", "images/Token/Mini/iron.png", "images/Token/Mini/ship.png",
								  "images/Token/Mini/thimble.png", "images/Token/Mini/wheelbarrow.png" };
	
	public String[] getAllNames() {
		
		return names;
	}
	
	public String getNames(int x) {
		
		return names[x];
	}
	
	public String getTokenURL(int x) {
		
		return tokenURL[x];
	}
	
	public boolean tokenStatus(int x) {
		
		if (tokens[x] == true) {
		
			return true;
		}
		
		return false;
	}
	
	/*public String[] availableTokens() {
		
		int y = 0;
		
		for (int x = 0; x < 8; x++) {
			
			if (this.tokenStatus(x) == false) {
				
				y++;
			}
		}
		
		String[] updatedList = new String[y];
		
		for (int x = 0, z = 0; x < 8; x++) {
			
			if (this.tokenStatus(x) == false) {
				
				updatedList[z] = names[x];
				z++;
			}
		}
		
		return updatedList;
	}*/
}
